package com.jeesite.modules.ele.dao;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.ele.entity.ElePhone;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
 * 手机信息表DAO接口
 * @author ccz
 * @version 2025-03-21
 */
@MyBatisDao
public interface ElePhoneDao extends CrudDao<ElePhone> {

    @Update("update ele_phone set phone_status = 1 where phone_id = #{id}")
    void ups1(@Param("id") String id);

    @Update("update ele_phone set phone_status = 0")
    Integer ups0();
}